package com.sixth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sixth.core.entity.CheckItem;
import com.sixth.core.vo.R;
import com.sixth.mapper.CheckItemMapper;
import com.sixth.service.CheckItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-21 19:03
 **/
@Service
public class CheckItemServiceImpl extends ServiceImpl<CheckItemMapper, CheckItem> implements CheckItemService {
    @Autowired
    private CheckItemMapper checkItemMapper;
    @Override
    public R selectAllItem() {
        List<CheckItem> checkItems = checkItemMapper.selectList(null);
        return R.ok(checkItems);
    }
}
